package cn.tedu.zx.pojo.users.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class UserRegAddNewParam implements Serializable {

    @NotNull(message = "添加用户失败，必须提交用户名")
    @ApiModelProperty(value = "用户名",required = true,example = "张三")
    private String username;

    @ApiModelProperty(value = "密码",required = true,example = "138xxx333")
    private String password;

//    @ApiModelProperty(value = "昵称",required = true,example = "骄傲的霸王花")
//    private String nickname;
//
    @ApiModelProperty(value = "电话号码",required = true,example = "139xxx666")
    private String phone;
//
//    @ApiModelProperty(value = "邮箱",required = true,example = "111xxx.qq.com")
//    private String email;
}
